<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<script type="text/javascript" src="http://localhost:8359/admin/_skins/tpl/tpljs/main090513.js" ></script>
<link href="http://localhost:8359/admin/_skins/tpl/tplcss/main090512.css" rel="stylesheet" link="text/css" />
<title>{title}</title>
</head>
<body>
<div class="welcome_div">
<h2>Welcome to Warabi Admin Panel</h2>
</div>
<div class="login_div">
<form action="#" method="post" name="loginfrm" onsubmit=" return check();">
<table align="center" width="200px">
<tr><td align="center" colspan="2"><span style="color:red;font-size:15px;font-weight:bold;" id="msg"></span></td></tr>
<tr><td align="left" colspan="2"><b>Name</b></td></tr>
<tr><td colspan="2"><input type="text" id="name" value="" class="login_input" name="name" /></td></tr>
<tr><td align="left" colspan="2"><b>Password</b></td></tr>
<tr><td align="left" colspan="2"><input type="password" id="password" value="" class="login_input" name="password" /></td></tr>
<td align="right"><input type="submit" value="Login" class="login_submit"/></td>
</tr>
</table>
</form>
</body>
<script type="text/javascript">
function check(){
	if($('name').value.trim()==""){
		$('msg').innerHTML = "Please fill the username.";
		return false;
	}
	if($('password').value.trim()==""){
		$('msg').innerHTML  = "Please fill the password.";
		return false;
	}
	return true;
}
</script>
</html>